var ec_fright1 = echarts.init(document.getElementById('fr1'), "dark");

var mydata = [{'value': 235, 'name': '非洲'}, {'value': 400, 'name': '亚洲'}]

var ec_fright1_option = {
    title: {
        //text: '今日新增确诊人数各省占比',
        text: '除美国、中国外累计确诊Top10国家人数占比',
        left: 'left',
        textStyle: {
           // color: '#ccc'
        }
    },
    tooltip: {
        trigger: 'item',
		//指示器
        formatter: '{a} <br/>{b} : {c} ({d}%)'
    },

    series: [
        {
            name: '累计确诊人数',
            type: 'pie',
            radius: ['0%', '70%'],
            avoidLabelOverlap: false,
            label: {
                show: false,
                position: 'center'
            },
            emphasis: {
                label: {
                    show: true,
                    fontSize: '30',
                    fontWeight: 'bold'
                }
            },
            labelLine: {
                show: false
            },
            data:mydata
        }
    ]
};
ec_fright1.setOption(ec_fright1_option)